package com.sly.fuxi.mysql.controller;

import com.sly.fuxi.mysql.service.DemoService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author SLY
 * @date 2025/2/23
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @Resource
    private DemoService demoService;

    /**
     *
     *
     * @author SLY
     * @date 2025/2/23
     * @return
     */
    @RequestMapping("demo01")
    public Object demo01(){
        return demoService.demo01();
    }
}
